//封装与学生有关请求
import { request } from "@/utils/request"



//1、提交调课审核信息
export function submitApliInfoAPI(dataForm){
    return request({
        url:'/student/course/submit',
        method:'POST',
        data:dataForm
    })
}

//2、获取个人调课申请请求
export function getPerAppliAPI(user_id){
    return request({
        url:`student/course/application/${user_id}`,
        method:'GET'
    })
}

//3、获取个人科目进度
export function getLearnProcessAPI(user_id){
    return request({
        url:`/student/learnProcess/subject/show/${user_id}`,
        method:'GET'
    })
}

//注册
export function studentRegisterAPI(dataForm){
    return request({
        url:'/student/register',
        method:'POST',
        data:dataForm
    })
}